home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / Co-Cz / ComputerUsage.cpt / Computer Usage Tracking / background_3134.txt < prev    next >
Encoding:
Text File  |  1988-03-12  |  4.6 KB  |  230 lines

  1. -- background: 3134 from stack: in
  2. -- bmap block id: 3549
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Sheets
  6. ----- HyperTalk script -----
  7. on init
  8.   doMenu "New Card"
  9.   newCard
  10.   go to last card
  11. end init
  12. on newCard
  13.   global programmer
  14.   put programmer into field "Programmer"
  15.   put the long date into field "Long Date"
  16.   put the time into field "Start Time"
  17. end newCard
  18. on closeCard
  19.   put field "Long Date" into convertDate
  20.   convert convertDate to short Date
  21.   put convertDate into field  "Date"
  22. end closecard
  23.  
  24.  
  25.  
  26.  
  27. -- part 1 (field)
  28. -- low flags: 00
  29. -- high flags: 4000
  30. -- rect: left=57 top=33 right=53 bottom=324
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 0
  34. -- font id: 3
  35. -- text size: 12
  36. -- style flags: 256
  37. -- line height: 16
  38. -- part name: Long Date
  39.  
  40.  
  41. -- part 2 (field)
  42. -- low flags: 00
  43. -- high flags: 4000
  44. -- rect: left=89 top=66 right=84 bottom=257
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 0 / 0
  47. -- text alignment: 0
  48. -- font id: 3
  49. -- text size: 12
  50. -- style flags: 256
  51. -- line height: 16
  52. -- part name: Start Time
  53.  
  54.  
  55. -- part 3 (field)
  56. -- low flags: 00
  57. -- high flags: 4000
  58. -- rect: left=325 top=66 right=84 bottom=493
  59. -- title width / last selected line: 0
  60. -- icon id / first selected line: 0 / 0
  61. -- text alignment: 0
  62. -- font id: 3
  63. -- text size: 12
  64. -- style flags: 256
  65. -- line height: 16
  66. -- part name: End Time
  67.  
  68.  
  69. -- part 4 (field)
  70. -- low flags: 00
  71. -- high flags: 4000
  72. -- rect: left=97 top=100 right=119 bottom=406
  73. -- title width / last selected line: 0
  74. -- icon id / first selected line: 0 / 0
  75. -- text alignment: 0
  76. -- font id: 3
  77. -- text size: 12
  78. -- style flags: 256
  79. -- line height: 16
  80. -- part name: Programmer
  81.  
  82.  
  83. -- part 5 (field)
  84. -- low flags: 00
  85. -- high flags: 4000
  86. -- rect: left=92 top=131 right=151 bottom=510
  87. -- title width / last selected line: 0
  88. -- icon id / first selected line: 0 / 0
  89. -- text alignment: 0
  90. -- font id: 3
  91. -- text size: 12
  92. -- style flags: 256
  93. -- line height: 16
  94. -- part name: Description
  95.  
  96.  
  97. -- part 6 (field)
  98. -- low flags: 00
  99. -- high flags: 4000
  100. -- rect: left=70 top=157 right=225 bottom=497
  101. -- title width / last selected line: 0
  102. -- icon id / first selected line: 0 / 0
  103. -- text alignment: 0
  104. -- font id: 3
  105. -- text size: 12
  106. -- style flags: 256
  107. -- line height: 16
  108. -- part name: Planned
  109.  
  110.  
  111. -- part 7 (field)
  112. -- low flags: 00
  113. -- high flags: 4000
  114. -- rect: left=70 top=228 right=309 bottom=497
  115. -- title width / last selected line: 0
  116. -- icon id / first selected line: 0 / 0
  117. -- text alignment: 0
  118. -- font id: 3
  119. -- text size: 12
  120. -- style flags: 256
  121. -- line height: 16
  122. -- part name: Actual
  123.  
  124.  
  125. -- part 8 (button)
  126. -- low flags: 00
  127. -- high flags: 8003
  128. -- rect: left=456 top=30 right=50 bottom=508
  129. -- title width / last selected line: 0
  130. -- icon id / first selected line: 0 / 0
  131. -- text alignment: 1
  132. -- font id: 0
  133. -- text size: 12
  134. -- style flags: 0
  135. -- line height: 16
  136. -- part name: Exit
  137. ----- HyperTalk script -----
  138. on mouseUp
  139.   doMenu "Quit HyperCard"
  140. end mouseUp
  141.  
  142.  
  143.  
  144. -- part 9 (button)
  145. -- low flags: 00
  146. -- high flags: 8003
  147. -- rect: left=388 top=29 right=51 bottom=453
  148. -- title width / last selected line: 0
  149. -- icon id / first selected line: 0 / 0
  150. -- text alignment: 1
  151. -- font id: 0
  152. -- text size: 12
  153. -- style flags: 0
  154. -- line height: 16
  155. -- part name: End Time
  156. ----- HyperTalk script -----
  157. on mouseUp
  158.   if field "End Time" is empty then
  159.     put the time into field "End Time"
  160.   end if
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 10 (button)
  166. -- low flags: 00
  167. -- high flags: 8003
  168. -- rect: left=329 top=29 right=51 bottom=383
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 0 / 0
  171. -- text alignment: 1
  172. -- font id: 0
  173. -- text size: 12
  174. -- style flags: 0
  175. -- line height: 16
  176. -- part name: Report
  177. ----- HyperTalk script -----
  178. on mouseUp
  179.   doMenu "Print Report..."
  180. end mouseUp
  181.  
  182.  
  183.  
  184. -- part 12 (field)
  185. -- low flags: 80
  186. -- high flags: 0000
  187. -- rect: left=423 top=100 right=119 bottom=487
  188. -- title width / last selected line: 0
  189. -- icon id / first selected line: 0 / 0
  190. -- text alignment: 0
  191. -- font id: 3
  192. -- text size: 12
  193. -- style flags: 0
  194. -- line height: 16
  195. -- part name: Date
  196.  
  197.  
  198. -- part 13 (button)
  199. -- low flags: 00
  200. -- high flags: 8003
  201. -- rect: left=439 top=97 right=119 bottom=498
  202. -- title width / last selected line: 0
  203. -- icon id / first selected line: 0 / 0
  204. -- text alignment: 1
  205. -- font id: 0
  206. -- text size: 12
  207. -- style flags: 0
  208. -- line height: 16
  209. -- part name: Help
  210. ----- HyperTalk script -----
  211. on mouseUp
  212.   push this card
  213.   go to card "Help"
  214. end mouseUp
  215.  
  216.  
  217.  
  218. -- part 14 (field)
  219. -- low flags: 00
  220. -- high flags: 4000
  221. -- rect: left=103 top=318 right=341 bottom=497
  222. -- title width / last selected line: 0
  223. -- icon id / first selected line: 0 / 0
  224. -- text alignment: 0
  225. -- font id: 3
  226. -- text size: 12
  227. -- style flags: 256
  228. -- line height: 16
  229. -- part name: inactive time
  230.